<template>
	<div class="">
		知识库
		
	</div>
</template>

<script>  
import http from '../../utils/http'
import api from '../../utils/api'
export default {
  name: 'hello',
  data () {
    return {
      msg: 'Welcome to Your Vue.js App'
    }
  },
  mounted: function () {
    this.fetchData()
  },
  methods: {
    fetchData: async function () {
      let params = {
      }
      const res = await http.get(api.right, params)
      console.log(res)
      if (res.data.code==0) {
        alert('请求成功')
      }
    }
  }
}
</script>  

<style>
</style>